import request from '@/utils/request'

// 获取比赛列表
export function getCompetitionList() {
  return request({
    url: '/work/competition/list',
    method: 'get'
  })
}


// 小类
export function getProjectDic(params) {
  return request({
    url: '/work/competition/getProjectsByCompetitionId',
    method: 'get',
    params:params
  })
}

// 获取项目信息
export function getProjectInfo(params) {
  return request({
    url: '/work/competition/project/'+ params,
    method: 'get',
  })
}